﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace throneOfGames.Models
{
    public interface IThroneRepository
    {
        IEnumerable<User> AllUsers { get; set; }
        IEnumerable<Boardgame> AllBoardgames { get; set; }
        IEnumerable<Game> AllGames { get; set; }
        IEnumerable<Player> AllPlayers { get; set; }
        IEnumerable<LeaderboardData> AllLeaderboardData { get; set; }
        void newPlayer(int userID, int gameID, int playerNum);
        int createGame(int user, int maxPlayers, bool isPublic, int bgID);
        void removePlayer(int pID);
        void insertUser(string userName, System.Data.Linq.Binary pass, string email);
        void updateUser(int userID, string userName, System.Data.Linq.Binary pass, string email);
        void startGame(int gameID);
    }
}
